package net.qhzw.geologr5.gis.service.system.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/***
 * 规范
 */
@Data
@TableName(value = "download_standard")
public class Standard implements Serializable {

    static final long serialVersionUID = 148545454939L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;


    /***
     * 规范名称
     */
    private String standardName;


    /***
     * 分类名称
     */
    private String categoryName;


    /***
     * 专业类别id
     */
    private Integer specialtyId;


    /***
     * 生成时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createDate;

    /***
     * 文件地址
     */
    private String fileUrl;


    @TableField(exist = false)
    private DownloadSpecialty downloadSpecialty;

}
